<template>
    <div class="itemMusicList">
         <h3> 歌单跳转</h3>
    </div>
</template>

<script>
    export default {
       name:"ItemMusicList",
       
       data() {
        return {
            singerSongData:[]
        };
       },
       //使用子组件
     
       methods:{ 
       back() {
        this.$router.back();
      },

      getSongtuijian(singerId) {
      this.axios({
        method: 'get',
        //获取歌单详情
        //接口地址
        url: '/playlist/detail',
        params: {
          id: singerId,
          //歌单最近s个收藏者
          s: 8,
        //   limit: 10,
        //   offset: 0
        }
      }).then(res => {
        // console.log('获取歌单详情 res ==> ', res);
        this.singerSongData = res
        // console.log("歌单跳转this.singerSongData==>",this.singerSongData);

      }).catch(err => {
        console.log('err ==> ', err);
      })
    },
     }

    }
</script>

<style lang="less" scoped>

</style>